package com.software.model;

import java.io.Serializable;
import java.util.Date;

public class DrmUser implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1666001237852847578L;
	// DB 主键
	private Long userId;
	// 登录名
	private String userLnm = "";
	// 真实姓名	
	private String userRnm = "";
	// 密码动态加密的 salt	
	private String userSalt = "";
	// 密码加密后的密钥串
	private String userPass = "";
	// 用户电话		
	private String userTel = "";
	// 用户mail
	private String userEmail = "";
	// 用户类型  0 学员  1老师   2 代理商  3分校
	private Integer userTp;
	// 个人描述
	private String userDesc = "";
	// 创建日期
	private String userCdt = "";
	// 更新日期
	private String userUdt = "";
	// 用户身份证	
	private String userCid = "";
	// 用户头像 mogoDB id
	private String userHimg = "";
	// 是否使用
	private Integer userUyn;
	// 用户来源 0  自己注册  1，网校添加用户；2，代理商；3，分校
	private Integer userSource;
    // QQ号码
	private String userQq = "";
	// 微博 url
	private String userWeibo = "";
	// 学员来源 管理员ID 
	private Long userSourceid ;
	// 教育程度
	private String userEdu = "";
	// 毕业院校
	private String userSchool = "";
	// 专业
	private String userMajor = "";
	// 性别
	private Integer userMale;
	// 用户所在省
	private String userProv = "";
	// 用户所在城市
	private String userCity = "";
	// 用户所在省名字
	private String userProvNm = "";
	// 用户所在市 名字
	private String userCityNm = "";
	// 默认为 0  未激活，不能使用系统， 1为激活，可以登录使用系统， 管理员代理商创建的用户都为1
	private Integer userAvtive = 1;
    // 用户签名说明
	private String userSing = "";
	// 0没有锁定， 1锁定， 锁定后暂时不能登陆系统，需要等一段时间
	private Integer userLock;
	// 手机号码
	private String userMobile = "";
	// 被锁定的时间，可以根据这个时间，+ 设定的多久可以锁定失效来判断是否可以登录',
	private Date userLockTime;

	// 课程名称
	private String courseNm = "";
	
	// 课程类别
	private String courseTp = "";
	
	// 预存款
	private String userAmount = "";
	
	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserLnm() {
		return userLnm;
	}

	public void setUserLnm(String userLnm) {
		this.userLnm = userLnm;
	}

	public String getUserRnm() {
		return userRnm;
	}

	public void setUserRnm(String userRnm) {
		this.userRnm = userRnm;
	}

	public String getUserSalt() {
		return userSalt;
	}

	public void setUserSalt(String userSalt) {
		this.userSalt = userSalt;
	}

	public String getUserPass() {
		return userPass;
	}

	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}

	public String getUserTel() {
		return userTel;
	}

	public void setUserTel(String userTel) {
		this.userTel = userTel;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public Integer getUserTp() {
		return userTp;
	}

	public void setUserTp(Integer userTp) {
		this.userTp = userTp;
	}

	public String getUserDesc() {
		return userDesc;
	}

	public void setUserDesc(String userDesc) {
		this.userDesc = userDesc;
	}

	public String getUserCdt() {
		return userCdt;
	}

	public void setUserCdt(String userCdt) {
		this.userCdt = userCdt;
	}

	public String getUserUdt() {
		return userUdt;
	}

	public void setUserUdt(String userUdt) {
		this.userUdt = userUdt;
	}

	public String getUserCid() {
		return userCid;
	}

	public void setUserCid(String userCid) {
		this.userCid = userCid;
	}

	public String getUserHimg() {
		return userHimg;
	}

	public void setUserHimg(String userHimg) {
		this.userHimg = userHimg;
	}

	public Integer getUserUyn() {
		return userUyn;
	}

	public void setUserUyn(Integer userUyn) {
		this.userUyn = userUyn;
	}

	public Integer getUserSource() {
		return userSource;
	}

	public void setUserSource(Integer userSource) {
		this.userSource = userSource;
	}

	public String getUserQq() {
		return userQq;
	}

	public void setUserQq(String userQq) {
		this.userQq = userQq;
	}

	public String getUserWeibo() {
		return userWeibo;
	}

	public void setUserWeibo(String userWeibo) {
		this.userWeibo = userWeibo;
	}

	public Long getUserSourceid() {
		return userSourceid;
	}

	public void setUserSourceid(Long userSourceid) {
		this.userSourceid = userSourceid;
	}

	public String getUserEdu() {
		return userEdu;
	}

	public void setUserEdu(String userEdu) {
		this.userEdu = userEdu;
	}

	public String getUserSchool() {
		return userSchool;
	}

	public void setUserSchool(String userSchool) {
		this.userSchool = userSchool;
	}

	public String getUserMajor() {
		return userMajor;
	}

	public void setUserMajor(String userMajor) {
		this.userMajor = userMajor;
	}

	public Integer getUserMale() {
		return userMale;
	}

	public void setUserMale(Integer userMale) {
		this.userMale = userMale;
	}

	public String getUserProv() {
		return userProv;
	}

	public void setUserProv(String userProv) {
		this.userProv = userProv;
	}

	public String getUserCity() {
		return userCity;
	}

	public void setUserCity(String userCity) {
		this.userCity = userCity;
	}

	public String getUserProvNm() {
		return userProvNm;
	}

	public void setUserProvNm(String userProvNm) {
		this.userProvNm = userProvNm;
	}

	public String getUserCityNm() {
		return userCityNm;
	}

	public void setUserCityNm(String userCityNm) {
		this.userCityNm = userCityNm;
	}

	public Integer getUserAvtive() {
		return userAvtive;
	}

	public void setUserAcitve(Integer userAvtive) {
		this.userAvtive = userAvtive;
	}

	public String getUserSing() {
		return userSing;
	}

	public void setUserSing(String userSing) {
		this.userSing = userSing;
	}

	public Integer getUserLock() {
		return userLock;
	}

	public void setUserLock(Integer userLock) {
		this.userLock = userLock;
	}

	public String getUserMobile() {
		return userMobile;
	}

	public void setUserMobile(String userMobile) {
		this.userMobile = userMobile;
	}

	public Date getUserLockTime() {
		return userLockTime;
	}

	public void setUserLockTime(Date userLockTime) {
		this.userLockTime = userLockTime;
	}
	
	public String getCourseNm() {
		return courseNm;
	}

	public void setCourseNm(String courseNm) {
		this.courseNm = courseNm;
	}

	public String getCourseTp() {
		return courseTp;
	}

	public void setCourseTp(String courseTp) {
		this.courseTp = courseTp;
	}

	public void setUserAvtive(Integer userAvtive) {
		this.userAvtive = userAvtive;
	}

	public String getUserAmount() {
		return userAmount;
	}

	public void setUserAmount(String userAmount) {
		this.userAmount = userAmount;
	}

	@Override
	public String toString() {
		return "DrmUser [userId=" + userId + ", userLnm=" + userLnm
				+ ", userRnm=" + userRnm + ", userSalt=" + userSalt
				+ ", userPass=" + userPass + ", userTel=" + userTel
				+ ", userEmail=" + userEmail + ", userTp=" + userTp
				+ ", userDesc=" + userDesc + ", userCdt=" + userCdt
				+ ", userUdt=" + userUdt + ", userCid=" + userCid
				+ ", userHimg=" + userHimg + ", userUyn=" + userUyn
				+ ", userSource=" + userSource + ", userQq=" + userQq
				+ ", userWeibo=" + userWeibo + ", userSourceid=" + userSourceid
				+ ", userEdu=" + userEdu + ", userSchool=" + userSchool
				+ ", userMajor=" + userMajor + ", userMale=" + userMale
				+ ", userProv=" + userProv + ", userCity=" + userCity
				+ ", userProvNm=" + userProvNm + ", userCityNm=" + userCityNm
				+ ", userAcitve=" + userAvtive + ", userSing=" + userSing
				+ ", userLock=" + userLock + ", userMobile=" + userMobile
				+ ", userLockTime=" + userLockTime + "]";
	}

}
